Added unit test for password prompt
Added unit test case for password authentication