Refactoring based on @grosser's comment

"@auth.any? <-> !@auth.empty?"
"begin + end can be removed -> unindent 1 level"