Fixed pickle steps for logging in