Moved authentication type statement to global section