access: improve login performance
- Adds argument batch mode in acc_authorize_action to lower number of database queries when testing many arguments against the same action and user.
- Improves login performance by using the acc_authorize_action argument batch mode to calculate list of permitted collections for a user.