fixed password prompt
added fm tests