Non-authenticated user request via Ajax
*Created by: pywwan*
## Steps required to reproduce the problem
1. Make request to API via Ajax as non-authenticated user
## Expected Result
* 401 Unauthorized
## Actual Result
* 302
issue