MDL-27953 auth: introduced new function can_be_manually_allocated to the authentication base class