JAuthenticationTest::testAuthorise

This checks for the correct response to authorising a user