Login credentials are now tested

Hey there,

Just made a small change to **SettingsViewController** so that it now logs the user in with the provided credentials to make sure they are valid before saving them to the Keychain and dismissing the view.