Fix nil class bug in OmniAuth controller