Refactor AuthenticationsController#create_new_authentication