refactored kitchen#require_authorization; refactored test for user_spec and application_controller_spec