[feature/api] Fixed illegal database field name

Renamed field 'key' to 'auth_key'.

PHPBB3-11595