Added a test to check the password fetching