Added method for escaping strings in HSQL. Also, basic login tests
updated.