code refactoring
throw errors if no argments have been passed in to the $authProvider configuration phase