Bug fix: Unknown bcrypt constant
Simplify dereference method; clone object wherever possible (Issue #424)