Fix the doc block comments, add the cookie property in AuthFactory. Add ...

...AdapterInterface explicitly in the AuthFactory service