Fixed: Anyone being allowed on if a database error occurs. (Thanks, cbarber!)