Fixed a bug in active authorisation methods