Issue #3 and #7

For issue #3:
- fixed serious bug

For issue #7:
- most of the functions in MySQL_Authentication rewritten to accept an extra argument of type enum cred_username_type
- Standard_MySQL_Authentication stores username/password in 2 structures (creds_group_t) for backend and frontend