Move authentication classes into own files