Modify auth level checking to take less place

This saves space and makes the code easier to read, while being functionally the same.