xhr requests to sessions#new return 501

this is so the old website responds to ajax requests for the login form
which is not implemented in the responsive site