Some Auth minor improvements
move auth constants
removed dependency on AppAction
added more generics