Authentication doesn't raise error page all the time
PEP8 compliance