With SMF you need to set the SMF COOKIE NAME. If you do not set this on install you will never be able to login. I think the default cookie name is SMFCookie10. There is a special box on install to place this variable.
The other cookie prefix and cookie domain settings are useless unless your using SMF 1.1 as older SMF you can not set cookie settings