Fix the authorise problem