get password authentication working

password is now authenticated correctly