Application may be nil when using Password Credentials

[fixes #401]