overriding auth entry point defined in rest plugin