Modified login behavior.