Allow authentication mechanisms to be specified.