Exporting getConfig function and remove obsolete bcrypt dependency.