Initial MariaDB configuration.
Updated PHP configuration to reflect latest changes, disabled MariaDB authentication, faster, more than secure in our environment (socket and no open port).
Created index on (hashed) password column for fast search upon login.
Overhauled, function didn't work properly because of a typo and everything should be tick faster.
Continued work on the user stuff.
Merge with latest work from Markus and Franz.