Subclasses must call this at the end of the login method if authentication is successful.
This will store the retrieved credentials if storePass flag is set.