Fixing authentication in spec