I found out that the edit author attribute is not added by default in for custom post types. To add the author attribute the following code is required:
add_post_type_support( 'mytype', 'author' );
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.