Authetication + Authorization using Basic Auth with a in-memory Realm