Add basic database realm and security manager. No hashing for now.