Adding tests for Application.authenticate_account.